Exchange 2007:  Email Address policy Based on dynamic disctribution group membership
New-EmailAddressPolicy "testmmmi" -RecipientFilter {((MemberOfGroup -eq "CN=studentDDG,OU=Student,DC=someschool,DC=com") -and (RecipientType -eq 'UserMailbox'))} -EnabledPrimarySMTPAddressTemplate 'SMTP:%m@student.someschool.com'I have tried this. Exchange seems accept the command. But the policy is not functioning. I can see the created policy, when I apply the policy, it shows its works fine. But the mail address does not creating according to the policy. I have deleted all other policy so that I can trace this is the only one on top priority. But no luck. Please help.
August 18th, 2009 2:03pm

You should use real attributes in AD such as company, extensionattributeX etc. to base recipient policy on. Dont use backlink or calculated attributes to filter on.http://support.microsoft.com/kb/304516http://blogs.technet.com/evand/archive/2007/02/13/using-memberof-with-recipientfilter.aspxthe reason is that although you can use other attribute such as memberof, it will only work sometimes depending on if the userobject is updated or not.lasse at humandata dot se, http://anewmessagehasarrived.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2009 3:27pm

Yes as Lasse said donot use the backlink attriutes. The best practise would be to use the AD attribute which is populated or shown in the Drop down box while creating the email address policy under the Condition section Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
August 18th, 2009 4:25pm

Thanks Lasse.
Free Windows Admin Tool Kit Click here and download it now
August 20th, 2009 2:04pm

Thanks Vinod
August 20th, 2009 2:05pm

You canschedulePoSh scriptto write DDG name into one of recipient custom attributes. Then you can base EAP on this attribute
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2009 9:38am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics